# -*- mode: python -*-

block_cipher = None

added_files = [
    ('.\\ui/dist', 'templates'),
    ('.\\config.yaml', '.'),
    ('.\\script', '..'),
    ('.\\depository', '.')
]

a = Analysis(['.\\cattle.py'],
             pathex=['.\\dist'],
             binaries=None,
             datas=added_files,
             hiddenimports=['clr'],
             excludes=[],
             win_no_prefer_redirects=False,
             win_private_assemblies=False,
             cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(pyz,
          a.scripts,
          exclude_binaries=True,
          name='运维工具箱',
          debug=False,
          strip=True,
          icon='.\\ui\\src\\assets\\logo.ico',
          upx=True,
          console=False )

coll = COLLECT(exe,
               a.binaries,
               a.zipfiles,
               a.datas,
               strip=False,
               upx=True,
               name='cattle')
